package com.ruoyi.park.domain.vo;

import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.List;
import java.util.Map;

@Data
@ApiModel
public class MaStockExportVO extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** Id */
    @ApiModelProperty(value = "Id")
    private String id;

    /** 物资名称 */
    @Excel(name = "物资名称")
    @ApiModelProperty(value = "物资名称")
    private String materialName;

    /** 规格 */
    @Excel(name = "规格")
    @ApiModelProperty(value = "规格")
    private String standards;

    /** 物料编码 */
    @Excel(name = "物料编码")
    @ApiModelProperty(value = "物料编码")
    private String materialNum;

    private String materialId;

    /** 单位 */
    @Excel(name = "单位")
    @ApiModelProperty(value = "单位")
    private String unit;

    @Excel(name = "数量")
    @ApiModelProperty(value = "数量")
    private Double quantity;

    /** 类别 */
    @ApiModelProperty(value = "类别")
    private Long category;

    @Excel(name = "类别")
    @ApiModelProperty(value = "类别名称")
    private String categoryName;

    /** 仓库名称 */
    @Excel(name = "仓库名称")
    @ApiModelProperty(value = "仓库名称")
    private String warehouse;

    /** 删除标志(0正常 1删除) */
    @ApiModelProperty(value = "删除标志(0正常 1删除)")
    private String delFlag;

    /** 租户Id */
    @ApiModelProperty(value = "租户Id")
    private String tenantId;

    //以下属性为页面视图属性
    /** 数量 */

    /** 仓库编号 */
    @Excel(name = "仓库编号")
    @ApiModelProperty(value = "仓库编号")
    private String houseNum;

    /** 单价 */
    @Excel(name = "单价")
    @ApiModelProperty(value = "单价")
    private BigDecimal unitPrice;

    /** 总价 */
    @Excel(name = "总价")
    @ApiModelProperty(value = "总价")
    private BigDecimal totalPrice;

    /** 盘前数量 */
    @ApiModelProperty(value = "盘前数量")
    private Double oldQuantity;

    /** 仓库id */
    @ApiModelProperty(value = "仓库id")
    private String houseId;

    /** 仓库及数量 */
    //@Excel(name = "仓库及数量")
    @ApiModelProperty(value = "仓库及数量")
    private List<Map<String,Object>> houseQuantityList;

    /** 用途 */
    @Excel(name = "用途")
    @ApiModelProperty(value = "用途")
    private String purpose;
}
